
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 RmsBusinessSetupConfig 分页列表
*/
export function getRmsBusinessSetupConfigPagination(data: any) {
  return axios.get(`${context}/rmsBusinessSetupConfig/pagination`, { params: data });
}


/**
 * 获取 RmsBusinessSetupConfig 所有数据
*/
export function getRmsBusinessSetupConfigAllList(data: any) {
  return axios.get(`${context}/rmsBusinessSetupConfig/all`, { params: data });
}


/**
 * 获取 RmsBusinessSetupConfig 详情
*/
export function getRmsBusinessSetupConfigDetailById(id: any) {
  return axios.get(`${context}/rmsBusinessSetupConfig/${id}`, { params:{id} });
}


/**
 * 新增 RmsBusinessSetupConfig
*/
export function addRmsBusinessSetupConfig(data: any) {
  return axios.post(`${context}/rmsBusinessSetupConfig`, data);
}

/**
 * 修改 RmsBusinessSetupConfig
*/
export function updateRmsBusinessSetupConfig(data: any) {
  return axios.put(`${context}/rmsBusinessSetupConfig`, data);
}

/**
 * 删除 RmsBusinessSetupConfig
*/
export function batchRemoveRmsBusinessSetupConfig(data: any) {
  return axios.post(`${context}/rmsBusinessSetupConfig/batchRemove`, data);
}

    